1
bash
This demonstrates the use of a case
statement in Bash for pattern matching and conditional execution.
case "$Variable" in # List patterns for the conditions you want to meet 0) echo "There is a zero.";; 1) echo "There is a one.";; *) echo "It is not null.";; # match everything esac
bash internalflow controltests (conditions)case statement (pattern matching)